package com.siwei.mes.service.system.impl;

import com.siwei.mes.entity.JavaVersion;
import com.siwei.mes.mapper.system.JavaVersionMapper;
import com.siwei.mes.service.system.JavaVersionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 后端版本号(PkJavaVersion)表服务实现类
 *
 * @author linzi
 * @since 2025-09-09 22:15:29
 */
@Service
class JavaVersionServiceImpl implements JavaVersionService {
    @Resource
    private JavaVersionMapper javaVersionMapper;

    @Override
    public JavaVersion getLastVersion() {
        return javaVersionMapper.getLastVersion();
    }
}
